﻿using System;
namespace Model
{
    /// <summary>
    /// PMS_ProjectMaintainFinance:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class PMS_ProjectMaintainFinance
    {
        public PMS_ProjectMaintainFinance()
        { }
        #region Model
        private int _id;
        private string _projectid;
        private string _maintainFinanceNo;
        private string _customername;
        private decimal? _orderamount;
        private decimal? _changeamount;
        private decimal? _settlementamount;
        private DateTime? _startdate;
        private DateTime? _enddate;
        private int? _systemacscount;
        private int? _systemcctvcount;
        private int? _systemalarmcount;
        private int? _systematmcount;
        private decimal? _systemacsamount;
        private decimal? _systemcctvamount;
        private decimal? _systemalarmamount;
        private decimal? _systematmamount;
        private decimal? _paidmoney;
        private decimal? _claimmoney;
        private decimal? _balancemoney;
        private string _applystage;
        private string _remark;
        private int? _isdelete = 0;
        private DateTime? _createdate = DateTime.Now;
        /// <summary>
        /// 编号
        /// </summary>
        public string maintainFinanceNo
        {
            get { return _maintainFinanceNo; }
            set { _maintainFinanceNo = value; }
        }
        /// <summary>
        /// 主键
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 项目编号
        /// </summary>
        public string projectID
        {
            set { _projectid = value; }
            get { return _projectid; }
        }
        /// <summary>
        /// 网点名称
        /// </summary>
        public string customerName
        {
            set { _customername = value; }
            get { return _customername; }
        }
        /// <summary>
        /// 订单原金额
        /// </summary>
        public decimal? orderAmount
        {
            set { _orderamount = value; }
            get { return _orderamount; }
        }
        /// <summary>
        /// 变更金额
        /// </summary>
        public decimal? changeAmount
        {
            set { _changeamount = value; }
            get { return _changeamount; }
        }
        /// <summary>
        /// 最终结算金额
        /// </summary>
        public decimal? settlementAmount
        {
            set { _settlementamount = value; }
            get { return _settlementamount; }
        }
        /// <summary>
        /// 合同开始日期
        /// </summary>
        public DateTime? startDate
        {
            set { _startdate = value; }
            get { return _startdate; }
        }
        /// <summary>
        /// 合同结束日期
        /// </summary>
        public DateTime? endDate
        {
            set { _enddate = value; }
            get { return _enddate; }
        }
        /// <summary>
        /// 维护系统门禁ACS数量
        /// </summary>
        public int? systemACSCount
        {
            set { _systemacscount = value; }
            get { return _systemacscount; }
        }
        /// <summary>
        /// 维护系统监控CCTV数量
        /// </summary>
        public int? systemCCTVCount
        {
            set { _systemcctvcount = value; }
            get { return _systemcctvcount; }
        }
        /// <summary>
        /// 维护系统报警ALARM数量
        /// </summary>
        public int? systemALARMCount
        {
            set { _systemalarmcount = value; }
            get { return _systemalarmcount; }
        }
        /// <summary>
        /// 维护系统ATM数量
        /// </summary>
        public int? systemATMCount
        {
            set { _systematmcount = value; }
            get { return _systematmcount; }
        }
        /// <summary>
        /// 维护设备门禁ACS金额
        /// </summary>
        public decimal? systemACSAmount
        {
            set { _systemacsamount = value; }
            get { return _systemacsamount; }
        }
        /// <summary>
        /// 维护设备监控CCTV金额
        /// </summary>
        public decimal? systemCCTVAmount
        {
            set { _systemcctvamount = value; }
            get { return _systemcctvamount; }
        }
        /// <summary>
        /// 维护设备报警ALARM金额
        /// </summary>
        public decimal? systemALARMAmount
        {
            set { _systemalarmamount = value; }
            get { return _systemalarmamount; }
        }
        /// <summary>
        /// 维护设备ATM金额
        /// </summary>
        public decimal? systemATMAmount
        {
            set { _systematmamount = value; }
            get { return _systematmamount; }
        }
        /// <summary>
        /// 已支付金额PAID
        /// </summary>
        public decimal? paidMoney
        {
            set { _paidmoney = value; }
            get { return _paidmoney; }
        }
        /// <summary>
        /// 本月申请金额ClAIM
        /// </summary>
        public decimal? claimMoney
        {
            set { _claimmoney = value; }
            get { return _claimmoney; }
        }
        /// <summary>
        /// 未申请金额BALANCE
        /// </summary>
        public decimal? balanceMoney
        {
            set { _balancemoney = value; }
            get { return _balancemoney; }
        }
        /// <summary>
        /// 申请阶段PHASE OF PAYMENT
        /// </summary>
        public string applyStage
        {
            set { _applystage = value; }
            get { return _applystage; }
        }
        /// <summary>
        /// 备注REMARK
        /// </summary>
        public string remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int? isDelete
        {
            set { _isdelete = value; }
            get { return _isdelete; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? createDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        #endregion Model
    }

    public class PMS_ProjectMaintainFinanceQuery : BaseQuery
    {
        public int? projectID
        {
            get;
            set;
        }
        public DateTime? startDate
        {
            get;
            set;
        }
        public DateTime? endDate
        {
            get;
            set;
        }
    }
}

